namespace Forging2.DataBase.ZH_IMES
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class mbf_def_operation
    {
        [Key]
        [StringLength(50)]
        public string GID { get; set; }

        [Required]
        [StringLength(50)]
        public string DEF_OP_CODE { get; set; }

        [Required]
        [StringLength(100)]
        public string DEF_OP_NAME { get; set; }

        public float CYCLE_TIME { get; set; }

        public float? PREPARE_TIME { get; set; }

        public float? QUEUE_TIME { get; set; }

        public int? OP_FLAG { get; set; }

        [StringLength(50)]
        public string PID { get; set; }

        [StringLength(32)]
        public string IMAGE_GID { get; set; }

        [StringLength(32)]
        public string WORK_INSTRUCTION { get; set; }

        [Required]
        [StringLength(32)]
        public string CONTROL_CODE { get; set; }

        public int? FAILURE { get; set; }

        [StringLength(32)]
        public string OP_GROUP_GID { get; set; }

        public int? PROCESS_BATCH { get; set; }

        public int? TRANSFER_BATCH { get; set; }

        public int? OP_SEQ { get; set; }

        [StringLength(200)]
        public string REMARK { get; set; }

        public int? ACQ_FLAG { get; set; }

        public int? PULL_TYPE { get; set; }

        public int? PULL_POINT { get; set; }

        public int? PULL_OBJ { get; set; }

        public int? IS_MASTER { get; set; }

        public int? IS_KEY { get; set; }

        public int? IS_MILESTONE { get; set; }

        public int? IS_ENFORCEMENT { get; set; }

        public int? IS_TRANSFER { get; set; }

        public int? IS_QTY_LIMIT { get; set; }

        public int? IS_CONFIRM { get; set; }

        public int? IS_ONLINE_REPAIR { get; set; }

        public int? IS_EDITABLE { get; set; }

        public int? IS_REDISPATCH { get; set; }

        public int? IS_KITTING { get; set; }

        public int? CHK_MODE { get; set; }

        public int? FLUSH_MODE { get; set; }

        public float? EFFECTIVE_PER { get; set; }

        public int? DISPATCH_TYPE { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime CREATE_DATE { get; set; }

        [Required]
        [StringLength(32)]
        public string CREATE_ID { get; set; }

        [StringLength(32)]
        public string MODIFY_ID { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime? MODIFY_DATE { get; set; }

        public int IS_ACTIVE { get; set; }

        public int IS_DELETE { get; set; }

        [StringLength(32)]
        public string SITE { get; set; }

        [StringLength(50)]
        public string UDA1 { get; set; }

        [StringLength(50)]
        public string UDA2 { get; set; }

        [StringLength(50)]
        public string UDA3 { get; set; }

        [StringLength(50)]
        public string UDA4 { get; set; }

        [StringLength(50)]
        public string UDA5 { get; set; }

        [StringLength(50)]
        public string UDA6 { get; set; }

        [StringLength(50)]
        public string UDA7 { get; set; }

        [StringLength(50)]
        public string UDA8 { get; set; }

        [StringLength(50)]
        public string UDA9 { get; set; }

        [StringLength(50)]
        public string UDA10 { get; set; }

        [StringLength(100)]
        public string UDA1C { get; set; }

        [StringLength(100)]
        public string UDA1N { get; set; }

        [StringLength(100)]
        public string UDA2C { get; set; }

        [StringLength(100)]
        public string UDA2N { get; set; }

        [StringLength(100)]
        public string UDA3C { get; set; }

        [StringLength(100)]
        public string UDA3N { get; set; }

        [StringLength(100)]
        public string UDA4C { get; set; }

        [StringLength(100)]
        public string UDA4N { get; set; }

        [StringLength(100)]
        public string UDA5C { get; set; }

        [StringLength(100)]
        public string UDA5N { get; set; }
    }
}
